﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GoodTrader.GTDownload
{
    public class StockData
    {
        // 데이터를 담고 있는 코드
        public string Code = "";
        // 증권사에서 받아온 원래 상태의 시간. 형식은 YYYYMMDD 로 부동소수. 예) 20140309.
        public double[] Time = null;
        public double[] Date = null;
        public double[] High = null;
        public double[] Low = null;
        public double[] Open = null;
        public double[] Close = null;

        public StockData(int aDataSize)
        {
            Time = new double[aDataSize];
            Date = new double[aDataSize];
            High = new double[aDataSize];
            Low = new double[aDataSize];
            Open = new double[aDataSize];
            Close = new double[aDataSize];
        }
    }
}
